@echo off

call mvn clean install

rd D:\study\server\apache-tomcat-6.0.10\webapps\stock\ /s /q

md D:\study\server\apache-tomcat-6.0.10\webapps\stock

echo a|xcopy D:\study\project\stockSmart\stock\target\stock\*.* D:\study\server\apache-tomcat-6.0.10\webapps\stock\ /e